import request from '../utils/request';

export async function fetchPost(url, params) {
  return request('/' + url, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
